package com.api.syh56.shengyunhui.service;

import com.api.syh56.shengyunhui.entity.adminEntity.AdminUser;
import com.api.syh56.shengyunhui.entity.adminEntity.Permission;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

public interface AdminSupService extends IService<AdminUser> {
//    String login(AdminUser adminUser);
    HashMap login(AdminUser adminUser);

    void reg(AdminUser adminUser);

    Page<AdminUser> get(Integer pageNum, Integer pageSize);

    void update(Permission permission);

    void regPer(Permission permission);

    List<Permission> getPer();

    void addJobNum(AdminUser adminUser);

}
